package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.PatientAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.patientaddress.PatientAddressAddReqDTO;
import com.yixin.hospital.entity.dto.req.patientaddress.PatientAddressEditReqDTO;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【patient_address(患者住址表)】的数据库操作Service
* @createDate 2024-09-10 15:38:14
*/
public interface PatientAddressService extends IService<PatientAddress> {

    ApiResult<?> add(@Valid PatientAddressAddReqDTO patientAddressAddReqDTO, String userName);

    ApiResult<?> edit(@Valid PatientAddressEditReqDTO patientAddressEditReqDTO, String userName);
}
